feat(tools): add .shellcheckrc for ShellCheck configuration#124
Open
WilliamBerryiii wants to merge 3 commits intomainfrom
Open
feat(tools): add .shellcheckrc for ShellCheck configuration#124WilliamBerryiii wants to merge 3 commits intomainfrom
WilliamBerryiii wants to merge 3 commits intomainfrom
Conversation
- add root-level .shellcheckrc with SC1091 global exclusion - configure MegaLinter BASH_SHELLCHECK_CONFIG_FILE 🔧 - Generated by Copilot
There was a problem hiding this comment.
Pull request overview
This PR adds centralized ShellCheck configuration for the edge-ai repository by introducing a .shellcheckrc file and integrating it with MegaLinter. The changes establish consistent shell script linting behavior across local development and CI pipelines, with a conservative initial configuration that disables SC1091 (unresolved source scripts) globally while setting bash as the default shell dialect. Follow-up work is tracked for enabling additional optional checks and removing redundant inline directives.
Changes:
- Added
.shellcheckrcconfiguration file withshell=bashand globaldisable=SC1091settings - Configured MegaLinter to use
.shellcheckrcviaBASH_SHELLCHECK_CONFIG_FILEsetting
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.shellcheckrc |
New ShellCheck configuration file enforcing bash dialect and disabling SC1091 globally with comprehensive documentation |
.mega-linter.yml |
Added ShellCheck configuration file reference for MegaLinter integration |
🔧 - Generated by Copilot
katriendg
approved these changes
Feb 3, 2026
23 tasks
🔧 - Generated by Copilot
01511d1 to
d01ddaf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Added root-level ShellCheck configuration file with global SC1091 exclusion (unresolved source scripts) and MegaLinter integration via
BASH_SHELLCHECK_CONFIG_FILEsetting. This provides consistent ShellCheck behavior across local development and CI pipelines..shellcheckrcat repository root with documented conventions.shellcheckrcviaBASH_SHELLCHECK_CONFIG_FILERelated Issue
Fixes #116
Type of Change
Implementation Details
Created
.shellcheckrcwith:shell=bash- enforces bash dialect checkingdisable=SC1091- global exclusion for unresolved source commandsUpdated
.mega-linter.ymlwith:BASH_SHELLCHECK_CONFIG_FILE: .shellcheckrcto ensure CI uses the same configTesting Performed
Validation Steps
shellcheck scripts/*.shand verify no SC1091 warningsChecklist
Additional Notes
Follow-up work tracked for:
require-variable-bracesoptional check (444 edits across 28 scripts)source-path=SCRIPTDIRdirective for common sourcing pattern🔧 - Generated by Copilot